<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .container {
            width: 650px;
            height: 700px;
            background-color: #ccc;
            position: relative;
        }

        .container div {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            position: absolute;
        }

        .container .item1 {
            background-color: antiquewhite;
        }

        .container .item2 {
            background-color: aqua;
            left: 50%;
            transform: translateX(-50%);
        }

        .container .item3 {
            background-color: aquamarine;
            right: 0;
        }

        .container .item4 {
            background-color: blueviolet;
            top: 50%;
            transform: translateY(-50%);
        }

        .container .item5 {
            background-color: black;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .container .item6 {
            background-color: red;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
        }

        .container .item7 {
            background-color: blue;
            bottom: 0;
        }

        .container .item8 {
            background-color: orange;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
        }

        .container .item9 {
            background-color: pink;
            bottom: 0;
            right: 0;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="item1"></div>
        <div class="item2"></div>
        <div class="item3"></div>
        <div class="item4"></div>
        <div class="item5"></div>
        <div class="item6"></div>
        <div class="item7"></div>
        <div class="item8"></div>
        <div class="item9"></div>
    </div>
</body>

</html>